<?php
if (!defined ('TYPO3_MODE')) 	die ('Access denied.');

$TCA['tx_ttnewsshare_networks'] = array (
	'ctrl' => $TCA['tx_ttnewsshare_networks']['ctrl'],
	'interface' => array (
		'showRecordFieldList' => 'hidden,title,url,shorturl,imagepath'
	),
	'feInterface' => $TCA['tx_ttnewsshare_networks']['feInterface'],
	'columns' => array (
		'hidden' => array (		
			'exclude' => 1,
			'label'   => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
			'config'  => array (
				'type'    => 'check',
				'default' => '0'
			)
		),
		'title' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:ttnews_share/locallang_db.xml:tx_ttnewsshare_networks.title',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',	
				'eval' => 'trim',
			)
		),
		'url' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:ttnews_share/locallang_db.xml:tx_ttnewsshare_networks.url',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',
			)
		),
		'shorturl' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:ttnews_share/locallang_db.xml:tx_ttnewsshare_networks.shorturl',		
			'config' => array (
				'type' => 'check',
			)
		),
		'imagepath' => array (		
			'exclude' => 0,		
			'label' => 'LLL:EXT:ttnews_share/locallang_db.xml:tx_ttnewsshare_networks.imagepath',		
			'config' => array (
				'type' => 'input',	
				'size' => '30',	
				'eval' => 'trim',
			)
		),
	),
	'types' => array (
		'0' => array('showitem' => 'hidden;;1;;1-1-1, title;;;;2-2-2, url;;;;3-3-3, shorturl, imagepath')
	),
	'palettes' => array (
		'1' => array('showitem' => '')
	)
);
?>